package com.xqboss.apps.vo.market;

import com.xqboss.apps.enums.nft.ResellEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 预发布市场回显
 */
@Data
@ApiModel
public class PreAddMarketVo {
    @ApiModelProperty("单次最大件数")
    private Integer resaleCountMax;
    @ApiModelProperty("单次最低件数")
    private Integer resaleCountMin;
    @ApiModelProperty("当前持有库存")
    private Integer stock;
    @ApiModelProperty("可转卖库存")
    private Integer usableStock;
    @ApiModelProperty("冻结中数量")
    private Integer freezeStock;
    @ApiModelProperty("剩余转卖次数")
    private Integer residueResaleCount;
    @ApiModelProperty("服务费比例")
    private BigDecimal transactionFeeRatio;
    @ApiModelProperty("最低服务费")
    private BigDecimal transactionFeeMin;
    @ApiModelProperty("可售时间")
    private LocalDateTime saleableTime;
    @ApiModelProperty("可售剩余时间")
    private Integer saleableCountDown;
    @ApiModelProperty("最高售价")
    private BigDecimal  sellPriceMax = BigDecimal.ZERO;
    @ApiModelProperty("最低售价")
    private BigDecimal sellPriceMin = BigDecimal.ZERO;
    @ApiModelProperty("当前是否开启转卖")
    private Boolean saleable;

}
